Microchip Technology /ATSAMS70J19B /AFEC0 /EMR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as EMR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (LOW)CMPMODE 0CMPSEL0 (CMPALL)CMPALL 0CMPFILTER 0 (NO_AVERAGE)RES0 (TAG)TAG 0 (STM)STM 0 (SE_UNSG_DF_SIGN)SIGNMODE

RES=NO_AVERAGE, CMPMODE=LOW, SIGNMODE=SE_UNSG_DF_SIGN

Description

AFEC Extended Mode Register

Fields

CMPMODE

Comparison Mode

0 (LOW): Generates an event when the converted data is lower than the low threshold of the window.

1 (HIGH): Generates an event when the converted data is higher than the high threshold of the window.

2 (IN): Generates an event when the converted data is in the comparison window.

3 (OUT): Generates an event when the converted data is out of the comparison window.

CMPSEL

Comparison Selected Channel

CMPALL

Compare All Channels

CMPFILTER

Compare Event Filtering

RES

Resolution

0 (NO_AVERAGE): 12-bit resolution, AFE sample rate is maximum (no averaging).

2 (OSR4): 13-bit resolution, AFE sample rate divided by 4 (averaging).

3 (OSR16): 14-bit resolution, AFE sample rate divided by 16 (averaging).

4 (OSR64): 15-bit resolution, AFE sample rate divided by 64 (averaging).

5 (OSR256): 16-bit resolution, AFE sample rate divided by 256 (averaging).

TAG

TAG of the AFEC_LDCR

STM

Single Trigger Mode

SIGNMODE

Sign Mode

0 (SE_UNSG_DF_SIGN): Single-Ended channels: Unsigned conversions.Differential channels: Signed conversions.

1 (SE_SIGN_DF_UNSG): Single-Ended channels: Signed conversions.Differential channels: Unsigned conversions.

2 (ALL_UNSIGNED): All channels: Unsigned conversions.

3 (ALL_SIGNED): All channels: Signed conversions.

Links

()